# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>

pkgname=sysvbanner
pkgver=1.0.15
pkgrel=1
pkgdesc='System-V banner clone'
arch=('i686' 'x86_64')
url='http://packages.qa.debian.org/s/sysvbanner.html'
conflicts=('bsd-games')
license=('custom')
source=("http://cdn.debian.net/debian/pool/main/s/sysvbanner/${pkgname}_${pkgver}.tar.gz"
        'man.patch')
md5sums=('5a7bd216a42faa20bfd91268a77cc41d'
         '003aa4532e00c32f747dfba6566c094d')

build() {
  cd $pkgname-$pkgver
  patch -p 1 < ../man.patch
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -D -m444 "debian/copyright" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 ft=sh et:
